package com.hyopt.modules.app.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hyopt.modules.app.entity.AlarmPhotoEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author liubin
 * @date 2020/1/6 15:41
 */
@Mapper
public interface AlarmPhotoDao extends BaseMapper<AlarmPhotoEntity> {

  /**
   * 保存照片
   * @param photo
   * @return
   */
  boolean savePhotoSelective(@Param("photo") AlarmPhotoEntity photo);
}
